package com.ybg.bookmember.module.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("bookinfos")
public class Bookinfos {
    @TableId( type = IdType.AUTO)
    private Long bookid;
    private Long typeid;
    private String bookname;
    private String author;
    private String publisher;
    private Date publishdate;
    private Double price;
    private Long store;
    private String bookimage;
    private String isbn;
    @TableLogic
    private int deleted;
}
